package com.sls.game.dao;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.OhFeiGoodsAreaServerInfo;

/**
 * 
 * @description 殴飞产品区服DAO
 * @author Wangxuegang
 * @date 2012-9-29
 * 
 */
public interface OhFeiGoodsAreaServerDAO {

	/**
	 * 产品品牌分页查询
	 * 
	 * @param info
	 * @return
	 */
	public Pagination<OhFeiGoodsAreaServerInfo> queryPaginationList(
			OhFeiGoodsAreaServerInfo info);

	/**
	 * 记录新增
	 * 
	 * @param info
	 */
	public void insert(OhFeiGoodsAreaServerInfo info);

	/**
	 * 根据sx，查询单条记录
	 * 
	 * @param sx
	 * @return
	 */
	public OhFeiGoodsAreaServerInfo queryBySx(String sx);

	/**
	 * 记录更新
	 * 
	 * @param info
	 */
	public void update(OhFeiGoodsAreaServerInfo info);

	/**
	 * 根据商品Id，查询区服表（返回结果可能多条记录）
	 * 
	 * @param goodsId
	 * @return
	 */
	public List<OhFeiGoodsAreaServerInfo> queryByGoodsId(String goodsId);

	/**
	 * 根据商品Id，查询区名称
	 * 
	 * @param goodsId
	 * @return
	 */
	public List<String> queryAreaNameByGoodsId(String goodsId);

}
